home *** CD-ROM | disk | FTP | other *** search
- Path: sfov1.verifone.com!nntp
- Newsgroups: comp.lang.c++
- Subject: Profiling C++ code on SCO
- Message-ID: <1996Jan22.205047.4754@sfov1.verifone.com>
- From: khemani_p1@hnlv4.verifone.com
- Date: Mon, 22 Jan 96 08:50:38 GMT
- Organization: VeriFone Inc.
- Keywords: Profiling, c++
- Nntp-Posting-Host: hnlv4.verifone.com
-
-
- I am planning to use the profiler on a somewhat large system for
- performance tuning purposes.. Here are the particulars.
-
- 1. More then one processes of different type/ same type will be running.
- 2. Code written in C++. Has considerable embedded SQL code. (Oracle 7.0)
- 3. Platform SCO UNIX
-
-
-
- I used the -p flag while compiling with CC.
- Set the PROFDIR env variable.
-
- But I immediately faced a problem where some programs will not compile
- with the -p option. The cc compiler while compiling the ..c file (produced
- by Cfront) starts giving errors. For example when cc comes across a struct
- definition it does not allocate space for it and soon after complains that
- the struct is of zero size. This happens quite deep in the program ...so
- are there some resource limitations?
-
-
- Is there some special way for profiling C++ code?
-
- How do we fine tune the working of the profiler ?
-
- What sort of performance degradation occurs when profiler is in operation?
-
- Is profiling on SCO anywaay different from profing on a HP-UX platform?
-
- Please post your replies to
-
- Khemani_p1@blrv1.verifone.com
-
-
- Thanx and Regards
- Khemani
-